<% include header %>
    <!--//删除和编辑功能-->
    <p>
        <% if (user && (user.name == post.name)){ %>
        <span><a class="edit" href="/edit/<%= post.name %>/<%= post.time.minute%>/<%= post.title%>">编辑</a></span>
        <span><a class="edit" href="/remove/<%= post.name %>/<%= post.time.minute%>/<%= post.title%>">删除</a></span>
        <% } %>
    </p>

    <p class="info">
        作者：<a href="/u/<%= post.name %>"><%= post.name %></a>
        日期：<a href=""><%= post.time.minute %></a>
    </p>
    <p><%- post.post %></p>
    <p class="info">阅读：<%= post.pv %> | 评论：<%= post.comments.length %></p>
    <% include comment%>
<% include footer %>
